package thread.word_matching;

import java.util.List;

public class Distance {
    private int distance;
    private List<String> wordList;

    public Distance() {
    }

    public int getDistance() {
        return distance;
    }

    public void setDistance(int distance) {
        this.distance = distance;
    }

    @Override
    public String toString() {
        return "Distance{" +
                "distance=" + distance +
                ", wordList=" + wordList +
                '}';
    }

    public List<String> getWordList() {
        return wordList;
    }

    public void setWordList(List<String> wordList) {
        this.wordList = wordList;
    }

    public Distance(int distance, List<String> wordList) {
        this.distance = distance;
        this.wordList = wordList;
    }
}
